import { Meta, ArgsTable } from '@storybook/addon-docs'
import { Table } from '@v-uik/table'
import { createTitle, COMPONENTS } from '../../../docs/showroom/config'

import { ColumnPropsDummy } from '@v-uik/table/examples/ColumnProps.dummy'
import { TableClassesDummy } from '../examples/Classes.dummy'

<Meta
  title={createTitle([COMPONENTS.dataDisplay, 'Table', 'API'])}
  component={Table}
  parameters={{
    viewMode: 'docs',
    previewTabs: {
      canvas: { hidden: true },
    },
  }}
/>

# Table API

<ArgsTable of={Table} />

# Classes

<ArgsTable of={TableClassesDummy} />

# ColumnProps API

<ArgsTable of={ColumnPropsDummy} />
